package com.zdd.ehe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @version 1.0.0
 * @title: News
 * @author: HFLy
 * @description:
 * @date: 6/3/2023 下午1:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_news_data")
public class News {
    @TableId(type = IdType.AUTO)
    private Integer newsId;
    //标题
    private String title;
    //新闻链接
    private String url;
    //作物
    private String type;
    //作物代码
    private String varietyCode;
    //发布时间
    private Timestamp reportTime;
}
